package com.shopcart.domain;
import javax.persistence.Entity;


import javax.persistence.Id;

import javax.persistence.Table;

import javax.persistence.Column;

import java.math.BigDecimal;
import java.util.Date;


@Entity
@Table(name="s_order_detail")
public class OrderDetail {

	@Id
	private String id;
	@Column(name="order_id")
	private String orderId;
	@Column(name="goods_id")
	private String goodsId;
	@Column(name="num")
	private Integer num;
	@Column(name="info")
	private String info;
	@Column(name="price")
	private BigDecimal price;
	@Column(name="goods_name")
	private String goodsName;
	@Column(name="goods_img")
	private String goodsImg;
	@Column(name="now_price")
	private BigDecimal nowPrice;
	@Column(name="goods_type")
	private Integer goodsType;
	@Column(name="create_time")
	private Date createTime;


	public String getId(){
		return id;
	}
	public void setId(String id){
		this.id = id;
	}
	public String getOrderId(){
		return orderId;
	}
	public void setOrderId(String orderId){
		this.orderId = orderId;
	}
	public String getGoodsId(){
		return goodsId;
	}
	public void setGoodsId(String goodsId){
		this.goodsId = goodsId;
	}
	public Integer getNum(){
		return num;
	}
	public void setNum(Integer num){
		this.num = num;
	}
	public String getInfo(){
		return info;
	}
	public void setInfo(String info){
		this.info = info;
	}
	public BigDecimal getPrice(){
		return price;
	}
	public void setPrice(BigDecimal price){
		this.price = price;
	}
	public String getGoodsName(){
		return goodsName;
	}
	public void setGoodsName(String goodsName){
		this.goodsName = goodsName;
	}
	public String getGoodsImg(){
		return goodsImg;
	}
	public void setGoodsImg(String goodsImg){
		this.goodsImg = goodsImg;
	}
	public BigDecimal getNowPrice(){
		return nowPrice;
	}
	public void setNowPrice(BigDecimal nowPrice){
		this.nowPrice = nowPrice;
	}
	public Integer getGoodsType(){
		return goodsType;
	}
	public void setGoodsType(Integer goodsType){
		this.goodsType = goodsType;
	}
	public Date getCreateTime(){
		return createTime;
	}
	public void setCreateTime(Date createTime){
		this.createTime = createTime;
	}

	
}
